<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>奖励证书</title>
		<meta name="renderer" content="webkit">
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
		<link rel="stylesheet" type="text/css" href="../commonCss/common.css" />
		<link rel="stylesheet" type="text/css" href="awardCertificate.css" />
	</head>

	<script id="awardItemTpl" type="text/html">
		<tr>
			<td>{{d.projectName}}</td>
			<td>{{d.awardName}}</td>
			<td>{{d.grade}}</td>
			<td>{{d.awardDate}}</td>
			<td>{{d.awardedOrgan}}</td>
			<!--<td><button data-id="{{d.id}}" class="editAward">编辑</button><button data-id="{{d.id}}" class="deleteAward">删除</button></td>-->
			<td class="td-manage">
				<a title="编辑"  class="editAward" data-id="{{d.id}}" href="javascript:;">
					<i class="layui-icon" data-id="{{d.id}}">&#xe642;</i>
				</a>
				<a title="删除" class="deleteAward" data-id="{{d.id}}" href="javascript:;">
					<i class="layui-icon" data-id="{{d.id}}">&#xe640;</i>
				</a>
			</td>
		</tr>
	</script>

	<body>
		<!-- <div class="awardCertificate_h5">奖励证书页面</div> -->
		<div class="page_header">
			<span>基本信息</span>
			<span class="line">/</span>
			<span>奖励情况</span>
		</div>
		<div class="page_h5 awardCertificate_h5">
			<div class="operation_btns clearfix">
				<div class="layui-btn layui-btn-normal add_btn" ><i class="layui-icon"></i>奖励情况</div>
			</div>

			<div class="layui-card-body layui-table-body layui-table-main">
				<table class="layui-table">
					<thead>
						<tr>
							<th>获奖项目名称</th>
							<th>奖励名称</th>
							<th>等级</th>
							<th>获奖时间</th>
							<th>授权机构</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody class="awardList">

					</tbody>
				</table>
			</div>
		</div>

		<div class="modal JR_hide" id="myModal">
			<div class="modal-dialog">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close">×</button>
						<h4 class="modal-title">添加奖励</h4>
					</div>

					<div class="modal-body">
						<form class="layui-form" action="" id="addNewAwardForm">
							<input type="hidden" class="save_val" name="id">
							<div class="layui-form-item">
								<label class="layui-form-label">获奖项目名称</label>
								<div class="layui-input-block">
									<input type="text" class="layui-input projectName save_val" name="projectName" required lay-verify="required"
									 placeholder="" autocomplete="off">
								</div>
							</div>

							<div class="layui-form-item">
								<label class="layui-form-label">奖励名称</label>
								<div class="layui-input-block">
									<input type="text" class="layui-input awardName save_val" name="awardName" required lay-verify="required"
									 placeholder="" autocomplete="off">
								</div>
							</div>

							<div class="layui-form-item">
								<label class="layui-form-label">等级</label>
								<div class="layui-input-block">
									<input type="text" class="layui-input grade save_val" name="grade" required lay-verify="required" placeholder=""
									 autocomplete="off">
								</div>
							</div>

							<div class="layui-form-item">
								<label class="layui-form-label">获奖时间</label>
								<div class="layui-input-block">
									<input type="text" class="layui-input awardDate save_val" name="awardDate" required lay-verify="required"
										   placeholder="1900-01-01" autocomplete="off">
								</div>
							</div>

							<div class="layui-form-item">
								<label class="layui-form-label">授权机构</label>
								<div class="layui-input-block">
									<input type="text" class="layui-input awardedOrgan save_val" name="awardedOrgan" required lay-verify="required"
									 placeholder="" autocomplete="off">
								</div>
							</div>
						</form>
					</div>

					<div class="modal-footer">
						<div class="layui-btn layui-btn-primary">取消</div>
						<div class="layui-btn layui-btn-normal" id="submitNewAward">提交</div>
					</div>
				</div>
			</div>
		</div>


		<script src="../commonJs/common.js" type="text/javascript" charset="utf-8"></script>
		<script src="awardCertificate.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>
